<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
  <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
  <title><%=@page_title%></title>
  <%= stylesheet_link_tag "iui", :media => "all" %>
  <%= stylesheet_link_tag "entry", :media => "all" %>
  <%= stylesheet_link_tag "common", :media => "all" %>
  <%=@content_for_page_stylesheets%>
  <style>
    <%=@content_for_page_styles%>
  </style>
  <%= javascript_include_tag('iui') %>
  <%= javascript_include_tag('application') %>
  <style>
    body {background:#fff;color:#000;}
  </style>
</head>
<body>
  <%= render(:partial => 'layouts/toolbar') %>
  <div id="messages">
	<% for name in [:notice, :warning, :message] -%>
	  <% if flash[name] -%>
	    <%= "<div class=\"message\" id=\"#{name}\">#{flash[name]}</div>" -%>
	  <% end -%>
    <% end -%>
  </div>
  <%= @content_for_layout %>
  <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
  <script type="text/javascript">
	_uacct = "UA-73651-3";
	urchinTracker();
  </script>
</body>
</html>